package com.hu.bgp.shared;

import com.google.gwt.user.client.rpc.IsSerializable;
import com.hu.bgp.framework.clientapi.ServerToClientMessage;

import de.novanic.eventservice.client.event.Event;

/**
 * Het enige event voor de gwteventservice, zodat de server de client op de
 * hoogte kan stellen van updates.
 * 
 * @author ejvos
 */
public class NewServerToClientMessageEvent implements Event, IsSerializable
{
	private Message message;

	public NewServerToClientMessageEvent()
	{
	}

	public NewServerToClientMessageEvent(Message message)
	{
		super();
		this.message = message;
	}

	public Message getMessage()
	{
		return message;
	}
}
